GetCtlMax
GetCtlMax Query the maximum value allowed for a control
#include <Controls.h> Control Manager
short GetCtlMax(theControl );
ControlHandle theControl ; handle of the control to query
returns control's maximum setting; contrlMax
GetCtlMax returns the current value in the contrlMax field of a control's
theControl is a handle leading to a variable-length ControlRecord structure. It
specifies which control to query.
Returns: a short; the current value of (* theControl)->contrlMax.